var AccountDao = function() {
  this.$id = "accountDao";
  this.$domainDaoSupport = null;
  this.$init = "init";
}

AccountDao.prototype.init = function () {
  this.$domainDaoSupport.initConfig("accountModel")
}

AccountDao.prototype.transaction = function(txStatus) {
  this.$domainDaoSupport.transaction(txStatus);
}

AccountDao.prototype.addAccount = function(obj, cb) {
  return $domainDaoSupport.add(obj,cb);
}

AccountDao.prototype.getList = function(params, cb) {
  var sql = ' 1=1 order by create_time asc, id asc limit ?,?';
  return this.$domainDaoSupport.getListByWhere(sql, params, null, cb);
}

module.exports = AccountDao;
